<template>
  <div class="my-btn">❤️hello <i class="js_text"></i>❤️</div>
</template>
<script>
  export default function($) {
    var value = $.el.attr('value');
    $('.js_text').text(value);

    $.el.click(function() {
      $.el.trigger('myclick');
    });
  }
</script>
<style> 
.my-btn {
  cursor: pointer;
}
</style>